* {
    margin: 0;
    padding: 0;
}

body {
    height: 100pv;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../img/2.jpg);
    background-size: cover;

}

.con-box img {
    width: 250px;
    height: 250px;
}

.container {
    padding: 50px;
    background-image: url(../img/3.jpg);
    width: 650px;
    height: 400px;
    top: 100px;
    left: 50px;
    position: relative;
    align-items: center;
    background-size: cover;
    opacity: 0.9;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(12, 9, 9, 0.5);
}

.form-box {
    position: absolute;
    top: -10%;
    left: 5%;
    background-image: url(../img/1.jpg);
    /* background-color: aquamarine; */
    background-size: cover;
    width: 400px;
    height: 600px;
    border-radius: 5px;
    box-shadow: 0 15px 35px rgba(12, 9, 9, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: 0.5s ease-in-out;
}

.register-box,
.login-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;

}

.hidden {
    display: none;
    transition: 0.5s;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #04a4e8;
    letter-spacing: 5px;
}

input {
    background-color: #fbd6ac;
    border: none;
    border-bottom: 1px solid rgb(138, 216, 238);
    padding: 10px 0;
    text-indent: 10px;
    margin: 8px 0;
    letter-spacing: 2px;
    border: none;


}

input[type="email"]:valid,
[type="tel"]:valid {
    background-color: #fbd6ac;
    ;
}

input[type="email"]:invalid,
[type="tel"]:invalid {
    background-color: rgb(243, 81, 7);
}

input::placeholder {
    color: #000;
}

.form-box button {
    position: relative;
    height: 33px;
    width: 100px;
    border-radius: 10px;
    margin: 30px 0 0 15px;
    color: rgb(249, 47, 12);
    background-color: antiquewhite;
    border: none;
    cursor: pointer;
}

.form-box button:hover {
    background-color: #04a4e8;
    color: aliceblue;
    transition: background-color 0.5s ease;
}

.con-box {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.con-box.left {
    left: -2%;

}

.con-box.right {
    right: -2%;

}

.con-box h2 {
    color: #8cd2f0;
    font-size: 25px;
}

.con-box p {
    font-size: 12px;
    color: #5a6e77;

}

.con-box span {
    color: #61e0fc;
}

.con-box img {
    margin: 40px;
    opacity: 0.8;
}

.con-box button {
    position: relative;
    height: 33px;
    width: 100px;
    border-radius: 10px;
    border: none;
    color: rgb(55, 12, 249);
    margin: 20px 30px 0 10px;
    padding: auto;
    background-color: #8cd2f0;
    cursor: pointer;

}

.con-box button:hover {
    background-color: #5404e8;
    color: rgb(219, 109, 241);
    transition: background-color 0.5s ease;
}

.wangji {
    text-decoration: none;
    position: absolute;
    top: 59%;
    left: 59%;
}

.wangji:hover {
    color: whitesmoke;}

.remember_pwd{
    display: block;
    position: absolute;
    top: 58%;
    left: 25%;
}